/*
 *    Document   : StContratacaoPessoal
 *    Created on : 01/03/2013, 13:23:24
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.model.StContratacaoPessoal',{
    
    extend:'Ext.data.Model'    
    
    ,fields:[
        {name:'id',type:'int'}
        ,{name:'dscContratacaoPessoal',type:'string'}
        ,{name:'qntPessoas',type:'int'}
        ,{name:'qntMeses',type:'int'}
        ,{name:'qntTotal',type:'number'}
        ,{name:'vlrUnit',type:'number'}
        ,{name:'vlrFinal',type:'number'}
        ,{name:'indicacoesParametros', type:'string'}
 ],
 
 validations:[
    {type:'presence', field:'qntPessoas'}
    ,{type:'presence', field:'qntMeses'}
    ,{type:'presence', field:'vlrUnit'}
 ]

});